package org.jeecg.modules.demo.soOrderDetail.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: warehouse_order
 * @Author: jeecg-boot
 * @Date: 2021-12-02
 * @Version: V1.0
 */
@Data
@TableName("warehouse_order_vo")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "warehouse_order_vo对象", description = "warehouse_order_vo")
public class WarehouseOrderVo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键ID")
    private String id;
    /**
     * 入库单编号
     */
    @Excel(name = "入库单编号", width = 15)
    @ApiModelProperty(value = "入库单编号")
    private String woNo;

    /**产品批号*/
    @Excel(name = "产品批号", width = 15)
    @ApiModelProperty(value = "产品批号")
    private String prdBn;
    /**
     * 出库单号
     */
    @Excel(name = "出库单号", width = 15)
    @ApiModelProperty(value = "出库单号")
    private String sodNo;

    /**
     * 入库量
     */
    @Excel(name = "入库量", width = 15)
    @ApiModelProperty(value = "入库量")
    private BigDecimal qoQuantity;
    /**
     * 创建日期
     */
    @Excel(name = "创建日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    @ApiModelProperty(value = "创建日期")
    private Date woDate;
    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    //本条成本金额
    @Excel(name = "本条成本金额", width = 15)
    @ApiModelProperty(value = "本条成本金额")
    private BigDecimal cbje;

    /**本条记录占用入库单现存量*/
    private BigDecimal fyje;

    private BigDecimal standingstock;
    //供应商
    private String chumdwmc;

    //存货名称
    private String cinvname;

    private Integer isSettlement;

    /**
     * 租户ID
     */
    private Integer tenantId;
    /**销售订单号*/
//    @Excel(name = "销售订单号", width = 15)
//    @ApiModelProperty(value = "销售订单号")
//    private String soNo;

}
